//
//  HDJumpAnnotationView.h
//  HeiLongJiangScience
//
//  Created by HDHaoShaoPeng on 2017/7/5.
//  Copyright © 2017年 HDHaoShaoPeng. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "HDAnnotation.h"
#import "HDMapView.h"

@class HDJumpAnnotationView;
@protocol HDJumpAnnotationViewDelegate <NSObject>

-(void)heighlightAnnotationWith:(HDJumpAnnotationView *)annotationView;

@end


@interface HDJumpAnnotationView : UIView


@property(strong,nonatomic)UIButton *myButton;



@property (nonatomic, strong) HDAnnotation *annotation;
@property (weak,nonatomic)id<HDJumpAnnotationViewDelegate>myDelegate;

@property(nonatomic)BOOL isAnimation;

- (id)initWithAnnotation:(HDAnnotation *)annotation animated:(BOOL)animate;

-(void)showNormal;
-(void)showHeigh;

-(void)startAnimationWith:(float)bili;
-(void)stopAnimation;


@end
